package BookAndAuthor;

public class Book_Author {

	private String name;
	private String email;
	char gender;

	public Book_Author() {
		this.name = "name";
		this.email = "email";
		this.gender = 'g';
	}

	public Book_Author(String name, String email, char gender) {
		this.name = name;
		this.email = email;
		this.gender = gender;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public char getGender() {
		return gender;
	}

	public void setGender(char gender) {
		this.gender = gender;
	}

	public String toString() {
		String s;
		s = "[name=" + name + ",email=" + email + ",gender=" + gender + "],";
		return s;
	}
}
